#include "Cmd.h"

void toDoCmd()
{
    string base_business;
    cin>>base_business;
    if(base_business=="add-member")
    {
        string name,address,job;
        cin>>name>>address>>job;
        Business BUSINESS;
        BUSINESS.addMember(NULL,name,address,job);
    }
    else if(base_business=="add-card")
    {
        string member_name,card_type;
        cin>>member_name>>card_type;
        Business BUSINESS;
        BUSINESS.addBind(member_name,card_type);
    }
    else
    {
        cout<<"Error"<<endl;
    }
}
